<?php
/**
 * 
 * @author spring
 * @version 2014-6-7 上午9:42:05
 */
class  Controller_Reportprint extends Controller{
	
	public function action_index()
 	{
 		$data=Delivery::get_delivery('deliveryorders',$_GET['id']);
 		$content=View::factory("delivery/print_de")->set('data',$data);
 		$this->response->body($content);
 	}
 	
 	
 	public function action_in()
 	{
 		$data=Delivery::get_delivery('warehouseorders',$_GET['id']);
 		$content=View::factory("delivery/print_wo")->set('data',$data);
 		$this->response->body($content);
 	}
	
}
